import { useRootStore } from '../stores/rootStore'
import { observer } from "mobx-react-lite"
function Bot(){
const  { todoListStore } =useRootStore()
  return (
    <div className="btn-div">
          <button className='' onClick={()=>{todoListStore.addApple()}}>
            摘苹果
        </button>
      </div>
  )
}
export default observer(Bot)